package com.ibelieveinsci.android;

import android.app.Application;
import android.content.res.Configuration;

import java.util.Locale;

/**
 * Created by Mina on 3/10/2014.
 *
 * @author Mina Shokry Rofaeil
 */
public class IBelieveInScienceApplication extends Application {
	@Override
	public void onCreate() {
		super.onCreate();
		Locale locale = new Locale("ar");
		Locale.setDefault(locale);
		Configuration config = new Configuration();
		config.locale = locale;
		getBaseContext().getResources().updateConfiguration(config, getBaseContext().getResources().getDisplayMetrics());
	}
}
